home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / BBS / IEMSI002.ZIP / SIMPLE.MEX < prev   
Encoding:
Text File  |  1996-01-18  |  745 b   |  29 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. // SIMPLE.MEX (included with the IEMSI002.ZIP archive)
  3. // By: Yuri Wiitala
  4. // January 1996 Release
  5. //
  6. // For use with the IEMSI.MH file by Yuri Wiitala.
  7. //
  8. // Yes!  It runs under Max 3 for DOS!
  9. //
  10. // Use this file for undetailed IEMSI useage.
  11. //////////////////////////////////////////////////////////////////////////////
  12.  
  13. #include <max.mh>
  14. #include <iemsi.mh>
  15.  
  16.  
  17. void main() {
  18.         struct _emsi_data: userinfo;
  19.  
  20.         if(iemsi_detect(userinfo) > 0) {
  21.                 input := userinfo.name + ";y;" + userinfo.password;
  22.                 return;
  23.         }
  24.         else {
  25.                 input := "";
  26.                 return;
  27.         }
  28. }
  29.